<!DOCTYPE html>
<html lang="zh" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title> lucode | blog </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="lucode"/>
    <link rel="apple-touch-icon-precomposed" href="../assets/img/app-icon72x72@2x.png">
    <meta name="msapplication-TileImage" content="../assets/img/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">
    <link rel="stylesheet" href="../assets/css/amazeui.min.css">
    <link rel="stylesheet" href="../assets/css/app.css">
    <link rel="icon" type="image/png" href="../assets/img/favicon.png">
    <link rel="icon" sizes="192x192" href="../assets/img/app-icon72x72@2x.png">
    <link rel="stylesheet" href="/lucode-for-all-web/common/markdown/css/style.css"/>
    <link rel="stylesheet" href="/lucode-for-all-web/common/markdown/css/editormd.css"/>

    <!--[if (gte IE 9)|!(IE)]><!-->
    <script src="../assets/js/jquery.min.js"></script>
    <!--<![endif]-->
    <!--[if lte IE 8 ]>
    <script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
    <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
    <script src="../assets/js/amazeui.ie8polyfill.min.js"></script>
    <![endif]-->
    <script src="../assets/js/amazeui.min.js"></script>
    <script src="https://cdn.bootcss.com/vue/2.4.2/vue.min.js"></script>
    <script src="https://cdn.bootcss.com/vue-router/2.7.0/vue-router.min.js"></script>
</head>
<body>
<div id="app">
    <header class="am-g am-g-fixed blog-fixed blog-text-center blog-header">
        <div class="am-u-sm-8 am-u-sm-centered" v-html="resMsg">

        </div>
    </header>
    <div class="am-margin-horizontal-xl am-padding-horizontal ">
        <div class="am-g ">

            <div class="am-u-sm-4">
                <p><input v-model="title" type="text" class="am-form-field am-round" placeholder="标题"/></p>
            </div>
            <div class="am-u-sm-5">
                <p><input v-model="tags" type="text" class="am-form-field am-round" placeholder="标签"/></p>
            </div>
            <div class="am-u-sm-3">
                <div v-if="articleId===''">
                    <button v-on:click="save" class="am-btn am-btn-success am-round">
                        <div v-html="button_html"></div>
                    </button>
                </div>
                <div v-else>
                    <button v-on:click="update" class="am-btn am-btn-success am-round">
                        <div v-html="button_html"></div>
                    </button>
                </div>

            </div>
        </div>
    </div>
    <br/>

    <div id="editor_article"></div>
</div>

<script src="../assets/js/common.js"></script>
<script src="../assets/js/backmanage/editor.js"></script>
<script src="/lucode-for-all-web/common/markdown/js/editormd.js"></script>

</body>
</html>